<div id="orverlayProcessProductOrder" style="display: none;">
    <div class="hd" id="cat-info-header">Xử lý đơn hàng</div>
    <div class="bd" style="height: 500px;overflow-x: auto;">
        <form id="frmSearchCustomerOrder" name="frmSearchCustomerOrder" onsubmit="AdminController.searchCustomerOrder(); return false;">
            <table cellpadding="0" cellspacing="0" width="750" class="table-overlay" align="left">
                <tr>
                    <td colspan="7">
                        <div class="info_header">
                            Tìm kiếm thông tin khách hàng
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="td-overlay-title">
                        Họ tên
                    </td>
                    <td>
                        <input type="text" class="input-overlay w150p" id="customer_order_full_name_search" name="customer_order_full_name_search">
                    </td>
                    <td class="td-overlay-title">
                        Điện thoại
                    </td>
                    <td>
                        <input type="text" class="input-overlay w100p" id="customer_order_mobile_search" name="customer_order_mobile_search">
                    </td>
                    <td class="td-overlay-title">
                        Email
                    </td>
                    <td>
                        <input type="text" class="input-overlay w150p" id="customer_order_email_search" name="customer_order_email_search">
                    </td>
                    <td>
                        <input type="submit" name="btnSearchCustomerOrder" id="btnSearchCustomerOrder" class="submit" value="Tìm kiếm">
                    </td>
                </tr>
            </table>
        </form>
        <div class="clear"></div>
        <div id="product_order_list_search_customer"></div>
        <div class="clear"></div>
        <form id="frmAddCustomerOrder" name="frmAddCustomerOrder">
            <div class="clear"></div>
            <div id="listProductOrder"></div>
            <div class="clear"></div>
            <table cellpadding="0" cellspacing="0" width="750" class="table-overlay" align="left">
                <col style="width: 150px;">
                <col style="width: 600px;">
                <col>
                <tr>
                    <td colspan="2">
                        <div class="info_header">
                            Thông tin khách hàng
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="td-overlay-title">Họ tên</td>
                    <td>
                        <input type="text" class="input-overlay w250p" name="order_detail_full_name" id="order_detail_full_name">
                        <span id="order_detail_full_name_error" class="validate_error" style="display: none;"></span>
                    </td>
                </tr>
                <tr>
                    <td class="td-overlay-title">Điện thoại</td>
                    <td>
                        <input type="text" class="input-overlay w250p" name="order_detail_phone_number" id="order_detail_phone_number">
                        <span id="order_detail_phone_number_error" class="validate_error" style="display: none;"></span>
                    </td>
                </tr>
                <tr>
                    <td class="td-overlay-title">Email</td>
                    <td>
                        <input type="text" class="input-overlay w250p" name="order_detail_email" id="order_detail_email">
                        <span id="order_detail_email_error" class="validate_error" style="display: none;"></span>
                    </td>
                </tr>
                <tr>
                    <td class="td-overlay-title">
                        Yahoo
                    </td>
                    <td>
                        <input type="text" class="input-overlay w250p" name="order_detail_yahoo" id="order_detail_yahoo">
                        <span id="order_detail_yahoo_error" class="validate_error" style="display: none;"></span>
                    </td>
                </tr>
                <tr>
                    <td class="td-overlay-title">
                        Hình thức thanh toán
                    </td>
                    <td>
                        <select class="input-overlay w200p" name="order_detail_method_payment" id="order_detail_method_payment">
                            <option value="">Chọn hình thức thanh toán</option>
                            <?php foreach ($method_payment as $key => $value) { ?>
                                <option value="<?php echo $key; ?>"><?php echo $value; ?></option>
                            <?php } ?>
                        </select>
                        <span id="order_detail_method_payment_error" class="validate_error" style="display: none;"></span>
                    </td>

                </tr>
                <tr>
                    <td class="td-overlay-title">
                        Hình thức nhận hàng
                    </td>
                    <td>
                        <select class="input-overlay w200p" name="order_detail_method_delivery" id="order_detail_method_delivery">
                            <option value="">Chọn hình thức nhận hàng</option>
                            <?php foreach ($method_delivery as $key => $value) { ?>
                                <option value="<?php echo $key; ?>"><?php echo $value; ?></option>
                            <?php } ?>
                        </select>
                        <span id="order_detail_method_delivery_error" class="validate_error" style="display: none;"></span>
                    </td>
                </tr>
                <tr>
                    <td class="td-overlay-title">
                        Địa chỉ
                    </td>
                    <td>
                        <div>
                            <input type="text" class="input-overlay" style="width: 500px;" name="order_detail_address" id="order_detail_address">
                        </div>
                        <div id="order_detail_address_error" class="validate_error" style="display: none;"></div>
                    </td>
                </tr>
                <tr>
                    <td class="td-overlay-title">
                        Địa chỉ giao hàng
                    </td>
                    <td>
                        <div>
                            <input type="text" class="input-overlay" style="width: 500px;" name="order_detail_address_delivery" id="order_detail_address_delivery">
                        </div>
                        <div id="order_detail_address_delivery_error" class="validate_error" style="display: none;"></div>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <div id="btcActAddOrder" style="height: 200px;text-align: center;">
                            <input type="button" class="submit" value="Lưu tạm" onclick="AdminController.saveNewProductOrder('0');">
                            <input type="button" class="submit" value="Hoàn thành" onclick="AdminController.saveNewProductOrder('1');">
                            <input type="button" class="submit" value="Hủy đơn hàng" onclick="AdminController.cancelAddProductOrder();">
                        </div>
                        <div id="btcActEditOrder" class="hide" style="height: 200px;text-align: center;">
                            <input type="button" class="submit" value="Cập nhật" onclick="AdminController.updateCustomerInfoInOrder();">
                            <input type="button" class="submit" value="Hủy cập nhật" onclick="">
                        </div>
                    </td>
                </tr>
            </table>
            <div class="clear"></div>
        </form>
    </div>
</div>